package com.yz.group1.group_1.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("visit_manage")
public class DoctorVisit {
    @TableId(type = IdType.AUTO)
    private Long id;
    private Long doctorId;
    private String doctorName;
    private Long patientId;
    private String patientName;
    private String deptName;
    private LocalDate visitDate;
    private Integer queueNo;
    private Integer status;        // 0待就诊 1已叫号 2已就诊 3已取消
    private String diagnosis;
    private String prescription;
    private Integer hospitalFlag;  // 0未住院 1已申请 2已住院
    private LocalDateTime createdAt;

}
